<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Deep Link Redirect</title>
    <script>
        window.onload = function () {
            var params = new URLSearchParams(window.location.search);
            var deepLinkUrl = "myapp://iptvdeepLink.com?" + params.toString();
            console.log(deepLinkUrl)
            // 创建一个隐藏的iframe来尝试打开应用
            var iframe = document.createElement('iframe');
            iframe.style.display = 'none';
            iframe.src = deepLinkUrl;
            document.body.appendChild(iframe);

            // 设置一个计时器，在2秒后重定向到应用商店
            setTimeout(function () {
                window.location = "https://play.google.com/store/apps/details?id=ins.freevideodownload.pro";
            }, 2000);
        };
    </script>
</head>

<body>
    
</body>

</html>